package com.mukefile.dao.impl;

import com.mukefile.dao.MLogDao;
import com.mukefile.pojo.Log;
import com.mukefile.pojo.MLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;

/**
 * @Author: kenewstar
 * @Description: 管理员日志数据访问层接口实现类
 * @Date:Created in 2020/9/15
 */
@Repository("mLogDao")
public class MLogDaoImpl implements MLogDao {

    @Autowired
    private HibernateTemplate hibernateTemplate;
    @Override
    public void insertMLog(MLog mLog) {
        this.hibernateTemplate.save(mLog);
    }


}
